package com.hellacutty.shake;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class MainActivity extends Activity {

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
    public void onClick(View v) {
    	Intent i;
        switch (v.getId()) {
        	case R.id.play1:
        		i = new Intent(getApplicationContext(), CanvasActivity.class);
        		startActivity(i);
                break;
            case R.id.play2:
            	i = new Intent(getApplicationContext(), BluetoothChat.class);
            	startActivity(i);
            case R.id.bluetooth_button:
            	i = new Intent(getApplicationContext(), BluetoothChat.class);
            	startActivity(i);
            	break;
            case R.id.instruc:
            	i = new Intent(getApplicationContext(), InstrucActivity.class);
            	startActivity(i);
                break;
        }
    }
}